package com.itheima.tlias.tliasweb.config;

import org.springframework.context.annotation.ImportSelector;
import org.springframework.core.type.AnnotationMetadata;

public class TokenSelector implements ImportSelector {
    @Override
    public String[] selectImports(AnnotationMetadata importingClassMetadata) {
        // 要加入到Spring IOC容器的类的全类名
        return new String[]{"com.example.TokenParser"};
    }
}
